import request from '@/utils/request'
export const getSimple = () => request('/sys/user/simple')
export const getDepartment = () => request('/company/department')
export const addDepartment = (data) => request.post('/company/department', data)
export const editDepartment = (data) => request.put(`/company/department/${data.id}`, data)
export const delDepartment = (id) => request.delete(`/company/department/${id}`)
export const departmentDetails = (id) => request(`/company/department/${id}`)
